package com.naiterui.ehp.bs.cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import com.naiterui.common.redis.config.EnableRedisAutoConfiguration;

@EnableWebMvc
@EnableFeignClients("com.naiterui")
@EnableAspectJAutoProxy(exposeProxy = true, proxyTargetClass = true)
@EnableAsync
@ComponentScan("com.naiterui")
@EnableRedisAutoConfiguration
@SpringBootApplication
public class CmsServer {

    public static void main(String[] args) {
        SpringApplication.run(CmsServer.class, args);
    }

}
